package com.railway.field.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "staff" , description = "人员表对象")
public class Staff {
    @ApiModelProperty(value = "人员id" , name = "id")
    private int id;

    @ApiModelProperty(value = "用户id" , name = "user_id")
    private int user_id;

    @ApiModelProperty(value = "分包单位id" , name = "sub_id")
    private int sub_id;

    @ApiModelProperty(value = "分包单位名称" , name = "sub_name")
    private String sub_name;

    @ApiModelProperty(value = "工种id" , name = "worktype_id")
    private int worktype_id;

    @ApiModelProperty(value = "工种名称" , name = "worktype_name")
    private String worktype_name;

    @ApiModelProperty(value = "部门id" , name = "department_id")
    private int department_id;

    @ApiModelProperty(value = "部门名称" , name = "department_name")
    private String department_name;

    @ApiModelProperty(value = "职务id" , name = "position_id")
    private int position_id;

    @ApiModelProperty(value = "职务名称" , name = "position_name")
    private String position_name;

    @ApiModelProperty(value = "姓名" , name = "staff_name")
    private String staff_name;

    @ApiModelProperty(value = "年龄" , name = "staff_age")
    private int staff_age;

    @ApiModelProperty(value = "照片" , name = "staff_img")
    private String staff_img;

    @ApiModelProperty(value = "性别" , name = "staff_sex")
    private String staff_sex;

    @ApiModelProperty(value = "民族" , name = "staff_nation")
    private String staff_nation;

    @ApiModelProperty(value = "身份证号" , name = "staff_card")
    private String staff_card;

    @ApiModelProperty(value = "身份证地址" , name = "staff_address")
    private String staff_address;

    @ApiModelProperty(value = "所在省" , name = "staff_province")
    private String staff_province;

    @ApiModelProperty(value = "手机号" , name = "staff_phone")
    private String staff_phone;

    @ApiModelProperty(value = "员工二维码" , name = "staff_code")
    private String staff_code;

    @ApiModelProperty(value = "紧急联系人姓名" , name = "sos_name")
    private String sos_name;

    @ApiModelProperty(value = "紧急联系人关系" , name = "sos_ship")
    private String sos_ship;

    @ApiModelProperty(value = "紧急联系人电话" , name = "sos_phone")
    private String sos_phone;

    @ApiModelProperty(value = "入职时间" , name = "entry_time")
    private String entry_time;

    @ApiModelProperty(value = "历史积分" , name = "history_integral")
    private int history_integral;

    @ApiModelProperty(value = "剩余积分" , name = "end_integral")
    private int end_integral;

    @ApiModelProperty(value = "昵称" , name = "nikename")
    private String nikename;

    @ApiModelProperty(value = "账号密码(手机端登录密码和考核系统登录密码)" , name = "password")
    private String password;

    @ApiModelProperty(value = "手机端头像" , name = "picture")
    private String picture;

    @ApiModelProperty(value = "在职状态('0' 离职  '1'在职)" , name = "state")
    private String state;

    @ApiModelProperty(value = "员工类型" , name = "type")
    private String type;

    @ApiModelProperty(value = "培训状态('0' 未培训  '1'培训)" , name = "train")
    private String train;

    @ApiModelProperty(value = "统计人数" , name = "count")
    private int count;

    @ApiModelProperty(value = "年龄段" , name = "age_duan")
    private int age_duan;


    public Staff() {
        super();
    }

    public Staff(int id, int user_id, int sub_id, String sub_name, int worktype_id, String worktype_name, int department_id, String department_name, int position_id, String position_name, String staff_name, int staff_age, String staff_img, String staff_sex, String staff_nation, String staff_card, String staff_address, String staff_province, String staff_phone, String staff_code, String sos_name, String sos_ship, String sos_phone, String entry_time, int history_integral, int end_integral, String nikename, String password, String picture, String state, String type, String train, int count, int age_duan) {
        this.id = id;
        this.user_id = user_id;
        this.sub_id = sub_id;
        this.sub_name = sub_name;
        this.worktype_id = worktype_id;
        this.worktype_name = worktype_name;
        this.department_id = department_id;
        this.department_name = department_name;
        this.position_id = position_id;
        this.position_name = position_name;
        this.staff_name = staff_name;
        this.staff_age = staff_age;
        this.staff_img = staff_img;
        this.staff_sex = staff_sex;
        this.staff_nation = staff_nation;
        this.staff_card = staff_card;
        this.staff_address = staff_address;
        this.staff_province = staff_province;
        this.staff_phone = staff_phone;
        this.staff_code = staff_code;
        this.sos_name = sos_name;
        this.sos_ship = sos_ship;
        this.sos_phone = sos_phone;
        this.entry_time = entry_time;
        this.history_integral = history_integral;
        this.end_integral = end_integral;
        this.nikename = nikename;
        this.password = password;
        this.picture = picture;
        this.state = state;
        this.type = type;
        this.train = train;
        this.count = count;
        this.age_duan = age_duan;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public int getSub_id() {
        return sub_id;
    }

    public void setSub_id(int sub_id) {
        this.sub_id = sub_id;
    }

    public String getSub_name() {
        return sub_name;
    }

    public void setSub_name(String sub_name) {
        this.sub_name = sub_name;
    }

    public int getWorktype_id() {
        return worktype_id;
    }

    public void setWorktype_id(int worktype_id) {
        this.worktype_id = worktype_id;
    }

    public String getWorktype_name() {
        return worktype_name;
    }

    public void setWorktype_name(String worktype_name) {
        this.worktype_name = worktype_name;
    }

    public int getDepartment_id() {
        return department_id;
    }

    public void setDepartment_id(int department_id) {
        this.department_id = department_id;
    }

    public String getDepartment_name() {
        return department_name;
    }

    public void setDepartment_name(String department_name) {
        this.department_name = department_name;
    }

    public int getPosition_id() {
        return position_id;
    }

    public void setPosition_id(int position_id) {
        this.position_id = position_id;
    }

    public String getPosition_name() {
        return position_name;
    }

    public void setPosition_name(String position_name) {
        this.position_name = position_name;
    }

    public String getStaff_name() {
        return staff_name;
    }

    public void setStaff_name(String staff_name) {
        this.staff_name = staff_name;
    }

    public int getStaff_age() {
        return staff_age;
    }

    public void setStaff_age(int staff_age) {
        this.staff_age = staff_age;
    }

    public String getStaff_img() {
        return staff_img;
    }

    public void setStaff_img(String staff_img) {
        this.staff_img = staff_img;
    }

    public String getStaff_sex() {
        return staff_sex;
    }

    public void setStaff_sex(String staff_sex) {
        this.staff_sex = staff_sex;
    }

    public String getStaff_nation() {
        return staff_nation;
    }

    public void setStaff_nation(String staff_nation) {
        this.staff_nation = staff_nation;
    }

    public String getStaff_card() {
        return staff_card;
    }

    public void setStaff_card(String staff_card) {
        this.staff_card = staff_card;
    }

    public String getStaff_address() {
        return staff_address;
    }

    public void setStaff_address(String staff_address) {
        this.staff_address = staff_address;
    }

    public String getStaff_province() {
        return staff_province;
    }

    public void setStaff_province(String staff_province) {
        this.staff_province = staff_province;
    }

    public String getStaff_phone() {
        return staff_phone;
    }

    public void setStaff_phone(String staff_phone) {
        this.staff_phone = staff_phone;
    }

    public String getStaff_code() {
        return staff_code;
    }

    public void setStaff_code(String staff_code) {
        this.staff_code = staff_code;
    }

    public String getSos_name() {
        return sos_name;
    }

    public void setSos_name(String sos_name) {
        this.sos_name = sos_name;
    }

    public String getSos_ship() {
        return sos_ship;
    }

    public void setSos_ship(String sos_ship) {
        this.sos_ship = sos_ship;
    }

    public String getSos_phone() {
        return sos_phone;
    }

    public void setSos_phone(String sos_phone) {
        this.sos_phone = sos_phone;
    }

    public String getEntry_time() {
        return entry_time;
    }

    public void setEntry_time(String entry_time) {
        this.entry_time = entry_time;
    }

    public int getHistory_integral() {
        return history_integral;
    }

    public void setHistory_integral(int history_integral) {
        this.history_integral = history_integral;
    }

    public int getEnd_integral() {
        return end_integral;
    }

    public void setEnd_integral(int end_integral) {
        this.end_integral = end_integral;
    }

    public String getNikename() {
        return nikename;
    }

    public void setNikename(String nikename) {
        this.nikename = nikename;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTrain() {
        return train;
    }

    public void setTrain(String train) {
        this.train = train;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getAge_duan() {
        return age_duan;
    }

    public void setAge_duan(int age_duan) {
        this.age_duan = age_duan;
    }
}
